package com.atguigu.spzx.pay.service;

import com.atguigu.spzx.model.entity.pay.PaymentInfo;

import java.util.Map;

/**
 * @author syh
 * @create 2023-09-05 15:07
 */
public interface AlipayService {
    String submitAlipay(Long orderNo);

    PaymentInfo findPaymentInfoByOrderNo(String outTradeNo);

    void updatePaymentInfoById(PaymentInfo paymentInfo);

    String notifyUrl(Map<String, String> params);

    String returnUrl(Map<String, String> params);
}
